﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HF.Test
{
    public struct StructObj
    {
        /// <summary>
        /// 属性
        /// </summary>
        public string Name { get; set; }
       
        public string Address;

        /// <summary>
        /// 静态属性
        /// </summary>
        public static int Age { get; set; }

        /// <summary>
        /// 索引属性
        /// </summary>
        /// <param name="index1"></param>
        /// <param name="str"></param>
        /// <returns></returns>
        public int this[int index1, string str]
        {
            get => 1;
            set { }
        }
    }
}
